<?php

namespace app\index\controller;
use app\common\model\oms\StaffStore as StaffStoreModel;

class Staff extends \app\common\controller\AuthBase {

    public function __construct() {
        parent::__construct();
    }
 
 
    /**
     * 通过门店id查找店内验光师
     */
    public function getStaffInfoByStoreId() {
        $param_list = [
            'company_code' => 'string'
        ];
        $params = $this->input();
        $this->diffParam($param_list, $params);
        $StaffStoreModel = new StaffStoreModel();
        $res = $StaffStoreModel->get_staff_info_by_store_id($params['store_id'], $params['company_code']);
        return $this->output($res);
    }

    
}
